#ifndef PASS_H
#define PASS_H

#include "Framework/Prerequisites.h"
#include "Graphics/Colour.h"

namespace tyro
{
	namespace Graphics
	{
		class Pass
		{
		public:

			Pass();
			Pass(Technique* parent, UINT_16 index);

			void SetAmbient(FLOAT_32 red, FLOAT_32 green, FLOAT_32 blue);

			const Colour& GetAmbient()const ; 
			const Colour& GetDiffuse()const ; 
			const Colour& GetSpecular()const ; 
			const Colour& GetEmmisive()const ; 
			const FLOAT_32 GetShininess() const ;


		protected:

			Technique*	parent;
			UINT_32		index;
			String		name;


			Colour		ambient;
			Colour		diffuse;	
			Colour		specular;
			Colour		emissive;
			FLOAT_32	shininess;

		private:
		};
	}
}
#endif